how to carryout a polarity test